// pages/form/form.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    array: [{ "id": "first", "name": "name1" }, { "id": "second", "name": "name2" }, { "id": "thrid", "name": "name1" }],
    multiSelectorarray: [["123", "987"], ["456", "654"], ["789", "321", "789", "321"]],
    pickervalue:[0,1,1],
    regionvalue:["湖南省","长沙市","雨花区"]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
 
  },
  mybindinput: function (e) {
console.log("mybind "+e.detail.value)
  },
  mybindfocus: function (e) {
    console.log("mybindfocus " + e.detail.value)
  },
  mybindconfirm: function (e) {
    console.log("mybindconfirm " + e.detail.value.myinput)
  },
  mybindsubmit: function (e) {
    console.log("mybindsubmit " + e.detail.value.myinput)
  },
  mybindreset: function (e) {
    console.log("mybindreset " + e.detail.value)
  },
  mybindchange: function (e) {
    console.log("mybindchange " + e.detail.value)
  },
  radiogroup: function (e) {
    console.log("radiogroup " + e.detail.value)
  },
  myswitch: function (e) {
    console.log("myswitch " + e.detail.value)
  },
  myslide: function (e) {
    console.log("myslide " + e.detail.value)
  },
  pickerbindchange: function (e) {
    console.log("pickerbindchange " + e.detail.value)
  },
  pickercancel: function (e) {
    console.log("pickercancel ")
  },
  pickerbind: function (e) {
    console.log("pickerbind " + e.detail.value)
  },
  pickerbindcolumnchange: function (e) {
    console.log("pickerbindcolumnchange " + e.detail.value)
  },
  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {
  
  },
  getuseinfo:function(e){
    console.log("cc")
    
  },
  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {
  
  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {
  
  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {
  
  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {
  
  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {
  
  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {
  
  }
})